#/bin/bash

USERNAME=vrghost

function do_upload {
	python googlecode_upload.py \
		-p om-manager \
		-u "$USERNAME" \
		-s "$2" -l "$3" \
		./clean_src/om-manager_*$1
}

do_upload ".tar.gz" "Source file bundle (platform independent)." "Type-Archive,Type-Source,OpSys-All"

#upload to vrghost.lv
scp -P 42 ./clean_src/*.{zip,dmg,tar.gz} ilja@vrghost.lv:www/public/indexed/openmoko
